package com.ev.filesConverting.server;

import org.jodconverter.office.OfficeException;
import org.springframework.stereotype.Repository;
import org.jodconverter.office.OfficeManager;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;

@Repository
public interface FilesConvertingServer {
    /**
     * 文件转换
     * @return
     * @throws OfficeException
     */
    OutputStream convert2PDF(InputStream in, String suffix) ;
}
